From: Rui Matos Date: Mon, 27 Apr 2015 17:08:24 +0000 (+0200) Subject: shell-global: Mark the sync pointer motion event as synthetic X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1368 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4f703019cade7ff6132f8592552f735d0df21fe6;p=gnome-shell.git shell-global: Mark the sync pointer motion event as synthetic This allows mutter to ignore these events for the purpose of keeping idle time. https://bugzilla.gnome.org/show_bug.cgi?id=748541 --- diff --git a/src/shell-global.c b/src/shell-global.c index acd5c80c8..188e89805 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -1464,7 +1464,7 @@ shell_global_sync_pointer (ShellGlobal *global) event.type = CLUTTER_MOTION; event.time = shell_global_get_current_time (global); - event.flags = 0; + event.flags = CLUTTER_EVENT_FLAG_SYNTHETIC; event.stage = global->stage; event.x = x; event.y = y;